<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
    <title>2.0</title>
    <link rel="stylesheet" href="styles/bootstrap/bootstrap.css">
    <link rel="stylesheet" href="styles/bootstrap-table.css">
    <link rel="stylesheet" href="lib/layui/css/layui.css">
    <link rel="stylesheet" href="styles/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="styles/awesome/font-awesome.min.css">
    <link rel="stylesheet" href="styles/reset.css">
    <link rel="stylesheet" href="styles/main.css">
    <link rel="stylesheet" href="styles/cy.css">
    <link rel="stylesheet" href="styles/qd.css">
    <link rel="stylesheet" href="styles/modify_reset.css">
    <link rel="stylesheet" href="styles/sfy_nav.css">
</head>
<body  class=''>
<script type="text/javascript" src="lib/jquery.min.js"></script>
    <script type="text/javascript" src="lib/underscore-min.js"></script>
    <script type="text/javascript" src="lib/layui/lay/dest/layui.all.js"></script>
    <script type="text/javascript" src="lib/bootstrap.min.js"></script>
    <script type="text/javascript" src="lib/bootstrap-table.js"></script>
    <script type="text/javascript" src="lib/jquery.validate.min.js"></script>
    <script type="text/javascript" src="lib/city-picker.js"></script>
    <script type="text/javascript" src="lib/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="lib/jquery.slimscroll.js"></script>
    <script type="text/javascript" src="lib/echarts-all.js"></script>
    <script type="text/javascript" src="lib/flot/jquery.flot.js"></script>
    <script type="text/javascript" src="lib/zUI.js"></script>
    <script src="http://117.78.47.109:8033/Content/App/jquery.tmpl.min.js"></script>

    <script src="http://117.78.47.109:8033/Content/App/app.js?0609133556"></script>
    <!--新导航-->
    <script type="text/javascript" src="lib/snap.svg-min.js"></script>
    <script type="text/javascript" src="lib/modernizr.custom.js"></script>
    <script type="text/javascript" src="js/header_sfy.js"></script>
    <!--end新导航-->
    <script type="text/javascript" src="js/app.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
   

     <!--头部-->


    <div class="g_header">
        <div class="g_hea_g1">
            <div class="g_hea_g2">
                <a href="/index1.html"><img src="/static/images/logo_sfy.png" class="img_1"></a>
                    <div class="g_hea_login">
                        <a href='/Home'>林湘潭[货主端]</a>,欢迎您登录
                        <span></span>
                        <div class="userboxinfo userboxinfob">
                            <ul class="ul_userlist">
                                <li><a href="/updatePwd">修改密码</a></li>
                                <li><a href="/logout?query=1">退出</a></li>
                            </ul>
                        </div>
                    </div>
            </div>
        </div>
            <div class="g_header_d">
                <span class="g_hea_img1" id="trigger-overlay">
                    <img src="/static/images/navs1_03.png">
                </span>

                <p class="g_hea_p1">菜单</p>
                <p class="g_hea_p2">
                    <span>悬浮</span>
                    <label class="switch_large"><input type="checkbox"><span></span></label>
                    <span>固定</span>
                </p>
                <div class="g_hear">
                    <a href="#"><img src="/static/images/sf1_07.png">传链社区</a>
                    <a href="#"><img src="/static/images/sf1_09.png">服务中心</a>
                    <a href="/Mymsg" id="my_sys_msg"><img src="/static/images/sf1_11.png">消息</a>
                </div>
                <p class="g_hea_p3">
                </p>
            </div>
                <div class="overlay overlay-genie " data-steps="m 701.56545,809.01175 35.16718,0 0,19.68384 -35.16718,0 z;m 698.9986,728.03569 41.23353,0 -3.41953,77.8735 -34.98557,0 z;m 687.08153,513.78234 53.1506,0 C 738.0505,683.9161 737.86917,503.34193 737.27015,806 l -35.90067,0 c -7.82727,-276.34892 -2.06916,-72.79261 -14.28795,-292.21766 z;m 403.87105,257.94772 566.31246,2.93091 C 923.38284,513.78233 738.73561,372.23931 737.27015,806 l -35.90067,0 C 701.32034,404.49318 455.17312,480.07689 403.87105,257.94772 z;M 51.871052,165.94772 1362.1835,168.87863 C 1171.3828,653.78233 738.73561,372.23931 737.27015,806 l -35.90067,0 C 701.32034,404.49318 31.173122,513.78234 51.871052,165.94772 z;m 52,26 1364,4 c -12.8007,666.9037 -273.2644,483.78234 -322.7299,776 l -633.90062,0 C 359.32034,432.49318 -6.6979288,733.83462 52,26 z;m 0,0 1439.999975,0 0,805.99999 -1439.999975,0 z" id="g_hea_con">
                    <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1440 806" preserveAspectRatio="none" class="svg1">
                        <path class="overlay-path" d="m 701.56545,809.01175 35.16718,0 0,19.68384 -35.16718,0 z" />
                    </svg>
                    <ul class='g_hea_ul'><li class='li3'>基础资料</li><li class='li4'>物流运营</li><li class='li5'>财务管理</li><li class='li6'>统计查询</li></ul><div class='g_hea_ulbox'><div class='g_hea_tab'><ul class='g_hea_ul2'><li>人员管理</li><li>商品管理</li></ul>
<div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/App/Biz/_StaffCargoowner/list' >货主人员资料维护</a></p></div><div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/App/Biz/_mfgoods/list' >商品资料维护</a></p></div></div><div class='g_hea_tab'><ul class='g_hea_ul2'><li>物流单据</li></ul>
<div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/Order/LogisticsOrder/LogisticsOrder?BillType=B01' >物流入库订单录入</a><a class='g_hea_a1'  href='/Order/LogisticsOrder/LogisticsOrder?BillType=B09' >物流调拨订单录入</a><a class='g_hea_a1'  href='/Order/LogisticsOrder/LogisticsOrder?BillType=B03' >物流出库订单录入</a><a class='g_hea_a1'  href='/App/Biz/_ptrtplis/list' >物流损溢单录入</a></p></div></div><div class='g_hea_tab'><ul class='g_hea_ul2'><li>费用与结算</li></ul>
<div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/Logistics/Settlement/TRTPLStatement' >三方物流结算单生成</a></p></div></div><div class='g_hea_tab'><ul class='g_hea_ul2'><li>物流数据查询</li><li>业务数据查询</li><li>预警报表</li></ul>
<div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/Logistics/DistributionDetails/Index' >配送详情查询</a><a class='g_hea_a1'  href='/Logistics/LogisticsOrder/SearchOrderView' >物流订单执行跟踪</a><a class='g_hea_a1'  href='/Warehouse/LogisticsCenter/Index' >冷链可视化</a><a class='g_hea_a1'  href='/App/Biz/BillRetrospective/list' >物流订单追溯</a></p></div><div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/InvStockReport/INVStockSearch/INVStockSearch' >库存查询</a></p></div><div class="g_hea_tab2"><p><a class='g_hea_a1'  href='/InvStockReport/INVStockNear/NearSearchView' >近效期库存预警</a><a class='g_hea_a1'  href='/InvStockReport/INVStockUnsalable/StockUnSalableSearch' >滞销库存预警</a><a class='g_hea_a1'  href='/InvStockReport/INVStockWarn/StockWarnView' >库存不足预警</a></p></div></div></div>
                    <img src="/static/images/cross.png" class="g_hea_close">
                </div>
    </div>
        <!-- 流程图-->
        <div class="g_He_bx"  style='display:none' >

            

        </div>
        <!-- end流程图-->
        <!-- 按钮 当前位置-->
        <div class="g_header_nav">
            <div class="g_header_t">
                <div class="operate-btns" id="main_operate_btns">


                </div>
            </div>
            <div class="con_breadcrumb">
                <ol class="breadcrumb">
                    <li><a>货主人员资料维护</a></li>
                </ol>
                <h3 class="current_module">货主人员资料维护</h3>
            </div>
        </div>
<!--end  按钮 当前位置-->
<!--end头部-->




    


<div class="content">
    
    <div  id="Container__staffcargoowner_list" class="container_detail">


        <div    class="content-filter"   id="MainFilter__staffcargoowner_list">
            <!--NavigateFilter-->
            
            <div id="nav_filter__staffcargoowner_list"></div>
        </div>
         
    
    <div class="group_search layui-form" id="filter__staffcargoowner_list"><div   class=row ><div class=" col-md-4 col-xs-4  col-lg-4" id="name_div" pagekey="_staffcargoowner_list">

        <input class="form-control" id="name"  name="name"  maxlength="20"  pagekey="_staffcargoowner_list"  isnotnullable="true"  filtertype="like"  placeholder="姓名"  value=""  maxlength="20"  type="text"   />
    
 </div>
<div class=" col-md-4 col-xs-4  col-lg-4" id="mobiletel1_div" pagekey="_staffcargoowner_list">

        <input class="form-control" id="mobiletel1"  name="mobiletel1"  maxlength="15"  pagekey="_staffcargoowner_list"  filtertype="like"  placeholder="手机号"  value=""  maxlength="15"  type="text"   />
    
 </div>
<div class=" col-md-4 col-xs-4  col-lg-4" id="deptguid_div" pagekey="_staffcargoowner_list">

        <div class="{classname}">
    <div class="input-group layui-form-item layui_select ">


        <div class="layui-input-block">
            <select  id="deptguid"  name="deptguid"  maxlength="32"  pagekey="_staffcargoowner_list"  filtertype="equal"  relationfield="" >
                <option value=""  >所属部门</option><option value="20170216175752310001"  >业务部</option><option value="20170216175816340001"  >市场部</option><option value="20170216175851270001"  >售前部</option><option value="20170407100751670001"  >财务部</option><option value="20170524190502110001"  >业务一部</option><option value="20170524190946470001"  >市场一部</option><option value="20170525111927810001"  >后勤部</option><option value="20170525182914900001"  >湖北华中医药有限公司</option><option value="20170525183454950001"  >仓储部</option><option value="20170525183825700001"  >物流部</option><option value="20170525183953460001"  >运输部</option><option value="20170525190105200001"  >仓储部</option><option value="20170525190939900001"  >仓储部</option><option value="20170525190955240001"  >仓储一部</option>
            </select>

        </div>

    </div>
   </div>

    
 </div>
</div><div   class=row ><div class=" col-md-4 col-xs-4  col-lg-4" id="logcenterguid_div" pagekey="_staffcargoowner_list">

        <div class="{classname}">
    <div class="input-group layui-form-item layui_select ">


        <div class="layui-input-block">
            <select  id="logcenterguid"  name="logcenterguid"  maxlength="32"  pagekey="_staffcargoowner_list"  filtertype="equal"  relationfield="LogCenterName" >
                <option value=""  >所属物流中心</option><option value="20170221180214470001"  >四方云武汉物流中心</option><option value="20170221180214470022"  >传世四方云武汉物流中心</option><option value="20170412160043110001"  >武汉物流中心</option><option value="20170524111308400001"  >汉江中下游江运物流中心</option><option value="20170524112302290001"  >京杭大运河物流中心</option><option value="20170526114148270001"  >xxx测试删除公司后物流中心是否会被删除物流中心删除后集散仓会不会被删除</option><option value="20170526115404080001"  >武汉xxx测试用</option><option value="20170531093936140001"  >物流中心八</option><option value="20170531094004080001"  >物流中心九</option><option value="20170531094030670001"  >物流十</option><option value="20170531094053170001"  >物流十一</option>
            </select>

        </div>

    </div>
   </div>

    
 </div>
<div class=" col-md-4 col-xs-4  col-lg-4" id="bizstate_div" pagekey="_staffcargoowner_list">

        
<div class="check_group"  id="check_groupbizstate">
    <label class="label">业务状态</label>
    <input value="" type="hidden" id="bizstate" name="bizstate"  pagekey="_staffcargoowner_list"  />
    <div class="control-filtering ">
        <a class="option active" name="bizstate"  id="bizstate" pagekey="_staffcargoowner_list" value="" >全部</a><a class="option " name="bizstate"  id="bizstate" pagekey="_staffcargoowner_list" value="Y" >有效</a><a class="option " name="bizstate"  id="bizstate" pagekey="_staffcargoowner_list" value="S" >停用</a><a class="option " name="bizstate"  id="bizstate" pagekey="_staffcargoowner_list" value="E" >作废</a>
    </div>
</div>
<script  >
    $(function () {
        $.getAppCore("_staffcargoowner_list", "", function (that) {


            $("#check_groupbizstate").find("a").on("click", function () {
                that.GetFrmCtrl("bizstate").val($(this).attr("value"));
                that.NavigateTreeReload();
            });

        });
    });

</script>
    
 </div>
<div style='display:inline-block;float:right;margin-right: 15px'  class=" text_right"><button id="search" action="search" type="button" class="btn btn-def"> <span class="glyphicon glyphicon-search"></span> 查询</button></div></div></div>
    <div id="title__staffcargoowner_list" >
        <div style="display:none">
            <div class="ibox-tools rboor" id="userbtn__staffcargoowner_list">
                <button class="btn  btn-default" action="add" title="新增" eventtype="default" isconfirm="0" position="toolbar" urltype="none" url=""  type="button"><i class="fb-add">&nbsp;新增</i></button> 
            </div>
        </div>
    </div>

    <h2 class="h2_1"   >
        您当前共有<span id="grid__staffcargoowner_list_num">0</span>条货主人员资料维护
    </h2>

    <!--</div>
    </div>-->
    <table class="table table-hover table-no-bordered table-1"   iapppage="YlY2PRO.PlatForm.Sys._StaffCargoownerPlugin"  isneedrentselector="false"  id="table__staffcargoowner_list"  data-toolbuttonlist="#userbtn__staffcargoowner_list"  data-show-refresh="false"  data-show-toggle="false"  data-single-select="false"  data-group-by="false"  data-show-columns="false"  data-show-export="false"  data-detail-view="false"  data-minimum-count-columns="3"  data-show-pagination-switch="false"  data-pagination="true"  data-page-list="[10]"  data-show-footer="false"  data-click-to-select="false"  data-side-pagination="server"  data-advanced-search="true"  ></table>
    <!--</form>-->
 <!--UserGridTableHtml-->

    <div style="display:none"></div>

    <div style="display:none;height:50px;" id="frm_fix__staffcargoowner_list"> </div>
    <div class="rowline" id="frmListSelector__staffcargoowner_list" style="display:none">
        
    </div>



 
        <!--UserDefineHtmlGrid-->
  </div>
    
    </div>
<script>
        var app__staffcargoowner_list = new $.AppCore({
    PageKey: "_staffcargoowner_list",
    PageInsideKey: "_staffcargoowner",
    GridTitle: "货主人员资料维护",
    PrimaryKey: "staffid",
    IsEnyptPrimaryVal: "true",
    EnyptSuffix: "_encode",
    GridDataUrl: "json/data1.json",
    PluginParent: "",
    PluginChildList: "",
    PlusHiddenInputPrefix: "_sysplusfieldval_",
    NavigateTreeID: "0AF9A96506483BEEC38630672DB4E1C93F3945BD86ECE520",
    NavigateRentFilterEnabled: false,
    NavigateFilterParams: "",
    BizAction: "list",
    ParentBizActionType: "None",
    CommandKey: "html",
    CommandUrl: "http://117.78.47.109:8033/App/Biz/_staffcargoowner/Command/",
    CommandUrlQuery: "",
    PageBizUrl: "http://117.78.47.109:8033/App/Biz/_staffcargoowner/",
    RelationPluginField: "",
    DataUniquiteKey: "_uniqueid_",
    IsAddOrEdit: "0",
    UrlReffer: "http://117.78.47.109:8033/Logistics/DistributionDetails/Index",
    IsLogined: "true",
    SelfDataNavigate: false,
    IsPageEnabledDataEdit: true,
    IsPageEnabledDataEditMessage: "",
    page_ShowCheckBox: false,
    page_ShowOperateColumn: true,
    page_ShowIndexColumn: true,
    page_EnabledNavigate: false,
    page_NavigateTreeKey: "20170221095611330001",
    page_NavigateCaption: "",
    page_NavigateField: "",
    page_IsCloseAfterSave: true,
    page_IsShowTopMenu: true,
    page_IsNavigateShowDefault: false,
    page_RowCtrlShowType: "three",
    page_DetWindow_Width: 800,
    page_DetWindow_Height: 500,
    page_DetailShowMode: "none",
    page_IsAllowPage: true,
    page_IsAllowExport: false,
    page_EnableRowLimit: false,
    page_IsShowWebNavigate: true,
    page_RunLimitAsDetail: false,
    page_IsPopOpen: false,
    page_IsEnableGridEdit: false,
    page_FilterCtrlShowType: "none",
    page_PlusCssClass: "",
    page_ContainerCssClass: "",
    page_ViewGroupField: "",
    page_View_Tree: false,
    page_View_TreeFields: "",
    page_ChildShowMode: "widthmasterdetail",
    page_IsShowSearchBtn: true,
    page_IsShowRefreshBtn: false,
    page_IsShowGridCount: true,
    page_GridBarInfo: "",
    page_PageSize: 10,
    _IsPopWin: false,
    _ParentApp: "",
    _IsAsSelector: false,
    _ParentFrameName: "",
    _PrimaryParentVal: "",
    _PrimaryVal: "",
    _DataCallBack: "",
    _CurrentTabIndex: "",
    _NavigateValue: "",
    _PageTokenId: "",
    _TenantGuid: "14DD4B646F1BCF4AEB588755934F14BF95D9B58037877707",
    UserQuerys: {}
});
window.app__staffcargoowner_list = app__staffcargoowner_list;
_AppCoreMain['_staffcargoowner_list'] = app__staffcargoowner_list;
$(function() {
    app__staffcargoowner_list.CreateTable({
        height: app__staffcargoowner_list.CalcuteHeight(),
        toolbarAlign: 'right',
        url: 'json/data1.json',
	    toolbar: '#toolbar', 
	    dataType:'json',
        operateformat: {
            "pagekey": "app__staffcargoowner_list",
            "data": [{
                "key": "Edit",
                "css": "fa fa-pencil",
                "text": "编辑",
                "backcss": "green-button"
            }, {
                "key": "Remove",
                "css": "fa fa-trash-o",
                "text": "删除",
                "backcss": "red-button"
            }]
        },
        columns: [
        	{
		        field: 'id',
		        title: 'id'
		    }, {
		        field: 'name',
		        title: 'name',
		        sortable:true,
		    }, {
		        field: 'price',
		        title: 'price',
		        sortable:true
		    }
        ]
    });
});
$(function() {
    $(function() {

        $.getAppCoreDetail("_staffcargoowner", function(that) {

            var TmpRightAndPoints = [];

            var rightPointCheckInside = function(obj) {
                    rightPointCheck($(this));
                };
            var rightPointCheck = function(obj) {
                    obj = (obj == null || typeof(obj) == "undefined") ? $(this) : obj;
                    var rightPoint = obj.attr("value");
                    var isCheck = obj.prop('checked');
                    // alert(isCheck);
                    var index = that.TempDataValueArray.indexOf(rightPoint);
                    if (isCheck) {
                        if (index >= 0) return;
                        that.TempDataValueArray.push(rightPoint);

                    } else {
                        if (index >= 0)

                        that.TempDataValueArray.splice(index, 1);
                    }
                    //alert(that.TempDataValueArray.length);
                };

            that.OnUserEvent("BeforeDetailSave", function() {

                var accountpwdrep = that.GetFrmCtrl("pwdrep").val();
                var accountpw = that.GetFrmCtrl("pwd").val();
                accountpwdrep = $.trim(accountpwdrep);
                accountpw = $.trim(accountpw);
                if (accountpw !== accountpwdrep) {
                    that.Msg("登录密码与重复密码不一致");
                    return false;
                }
                if (accountpw.length < 4 || accountpw.length > 40) {
                    that.Msg("登录密码长度在4位与20位之间");
                    return false;
                }
                if (that.TempDataValueArray.length == 0) {
                    that.Msg("请为当前用户配置角色");
                    return false;
                }
                var data = {
                    rights: that.TempDataValueArray
                };
                data = JSON.stringify(data);
                //把权限赋给上级，直接同步保存
                that.SetUserHiddenValue(data);
                return true;
            });

            var dataJson = that.TempUserJsonData;

            if (typeof(dataJson) != "undefined") {

                $.each(dataJson, function(i, value) {

                    that.TempDataValueArray.push(value);

                });

            }
            that.options.Ele_Container.find("input[type=checkbox][action='role_check']").each(function() {
                var rightPoint = $(this).attr("value");
                var index = that.TempDataValueArray.indexOf(rightPoint);
                if (index >= 0) $(this).prop("checked", true);
                $(this).change(rightPointCheckInside);
            });
            that.GetFrmCtrl("isdriver").change(function() {
                isDriverSelectChange($(this).val() == "Y");

            });

            var isDriverSelectChange = function(isDriver) {

                    if (isDriver == false) {
                        $("#file__staffcargoowner_listdlfrontpictcontent").hide();
                        $("#file__staffcargoowner_listdlbackpictcontent").hide();
                    } else {
                        $("#file__staffcargoowner_listdlfrontpictcontent").show();
                        $("#file__staffcargoowner_listdlbackpictcontent").show();
                    }
                };

            isDriverSelectChange(that.GetFrmCtrlRadio("isdriver").val() == "Y");

        });


    })



});
    </script>
  

<script>$(function () {});</script>
 




        <footer class="footer ">
            <p>
                Copyright © 2015-2017
                <a href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action" target="_blank">粤ICP备16033858-1</a>     深圳传世般若科技有限公司  <a href="/App/Biz/_updateVersion">更新日志</a>
            </p>
             </footer>
</body>


</html>